Optimal. Leaf size=153 \[ \frac{5 b^2 (6 A c+b B) \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right )}{8 \sqrt{c}}+\frac{2 \left (b x+c x^2\right )^{5/2} (6 A c+b B)}{b x^2}-\frac{5 c \left (b x+c x^2\right )^{3/2} (6 A c+b B)}{3 b}-\frac{5}{8} (b+2 c x) \sqrt{b x+c x^2} (6 A c+b B)-\frac{2 A \left (b x+c x^2\right )^{7/2}}{b x^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.16711, antiderivative size = 153, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {792, 662, 664, 612, 620, 206} \[ \frac{5 b^2 (6 A c+b B) \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right )}{8 \sqrt{c}}+\frac{2 \left (b x+c x^2\right )^{5/2} (6 A c+b B)}{b x^2}-\frac{5 c \left (b x+c x^2\right )^{3/2} (6 A c+b B)}{3 b}-\frac{5}{8} (b+2 c x) \sqrt{b x+c x^2} (6 A c+b B)-\frac{2 A \left (b x+c x^2\right )^{7/2}}{b x^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 792
Rule 662
Rule 664
Rule 612
Rule 620
Rule 206
Rubi steps
\begin{align*} \int \frac{(A+B x) \left (b x+c x^2\right )^{5/2}}{x^4} \, dx &=-\frac{2 A \left (b x+c x^2\right )^{7/2}}{b x^4}+\frac{\left (2 \left (-4 (-b B+A c)+\frac{7}{2} (-b B+2 A c)\right )\right ) \int \frac{\left (b x+c x^2\right )^{5/2}}{x^3} \, dx}{b}\\ &=\frac{2 (b B+6 A c) \left (b x+c x^2\right )^{5/2}}{b x^2}-\frac{2 A \left (b x+c x^2\right )^{7/2}}{b x^4}-\frac{(5 c (b B+6 A c)) \int \frac{\left (b x+c x^2\right )^{3/2}}{x} \, dx}{b}\\ &=-\frac{5 c (b B+6 A c) \left (b x+c x^2\right )^{3/2}}{3 b}+\frac{2 (b B+6 A c) \left (b x+c x^2\right )^{5/2}}{b x^2}-\frac{2 A \left (b x+c x^2\right )^{7/2}}{b x^4}-\frac{1}{2} (5 c (b B+6 A c)) \int \sqrt{b x+c x^2} \, dx\\ &=-\frac{5}{8} (b B+6 A c) (b+2 c x) \sqrt{b x+c x^2}-\frac{5 c (b B+6 A c) \left (b x+c x^2\right )^{3/2}}{3 b}+\frac{2 (b B+6 A c) \left (b x+c x^2\right )^{5/2}}{b x^2}-\frac{2 A \left (b x+c x^2\right )^{7/2}}{b x^4}+\frac{1}{16} \left (5 b^2 (b B+6 A c)\right ) \int \frac{1}{\sqrt{b x+c x^2}} \, dx\\ &=-\frac{5}{8} (b B+6 A c) (b+2 c x) \sqrt{b x+c x^2}-\frac{5 c (b B+6 A c) \left (b x+c x^2\right )^{3/2}}{3 b}+\frac{2 (b B+6 A c) \left (b x+c x^2\right )^{5/2}}{b x^2}-\frac{2 A \left (b x+c x^2\right )^{7/2}}{b x^4}+\frac{1}{8} \left (5 b^2 (b B+6 A c)\right ) \operatorname{Subst}\left (\int \frac{1}{1-c x^2} \, dx,x,\frac{x}{\sqrt{b x+c x^2}}\right )\\ &=-\frac{5}{8} (b B+6 A c) (b+2 c x) \sqrt{b x+c x^2}-\frac{5 c (b B+6 A c) \left (b x+c x^2\right )^{3/2}}{3 b}+\frac{2 (b B+6 A c) \left (b x+c x^2\right )^{5/2}}{b x^2}-\frac{2 A \left (b x+c x^2\right )^{7/2}}{b x^4}+\frac{5 b^2 (b B+6 A c) \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right )}{8 \sqrt{c}}\\ \end{align*}
Mathematica [A] time = 0.227675, size = 117, normalized size = 0.76 \[ \frac{\sqrt{x (b+c x)} \left (\frac{15 b^{3/2} \sqrt{x} (6 A c+b B) \sinh ^{-1}\left (\frac{\sqrt{c} \sqrt{x}}{\sqrt{b}}\right )}{\sqrt{c} \sqrt{\frac{c x}{b}+1}}-6 A \left (8 b^2-9 b c x-2 c^2 x^2\right )+B x \left (33 b^2+26 b c x+8 c^2 x^2\right )\right )}{24 x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.012, size = 358, normalized size = 2.3 \begin{align*} -2\,{\frac{A \left ( c{x}^{2}+bx \right ) ^{7/2}}{b{x}^{4}}}+12\,{\frac{Ac \left ( c{x}^{2}+bx \right ) ^{7/2}}{{b}^{2}{x}^{3}}}-32\,{\frac{A{c}^{2} \left ( c{x}^{2}+bx \right ) ^{7/2}}{{b}^{3}{x}^{2}}}+32\,{\frac{A{c}^{3} \left ( c{x}^{2}+bx \right ) ^{5/2}}{{b}^{3}}}+20\,{\frac{A{c}^{3} \left ( c{x}^{2}+bx \right ) ^{3/2}x}{{b}^{2}}}+10\,{\frac{A{c}^{2} \left ( c{x}^{2}+bx \right ) ^{3/2}}{b}}-{\frac{15\,A{c}^{2}x}{2}\sqrt{c{x}^{2}+bx}}-{\frac{15\,Abc}{4}\sqrt{c{x}^{2}+bx}}+{\frac{15\,A{b}^{2}}{8}\sqrt{c}\ln \left ({ \left ({\frac{b}{2}}+cx \right ){\frac{1}{\sqrt{c}}}}+\sqrt{c{x}^{2}+bx} \right ) }+2\,{\frac{B \left ( c{x}^{2}+bx \right ) ^{7/2}}{b{x}^{3}}}-{\frac{16\,Bc}{3\,{b}^{2}{x}^{2}} \left ( c{x}^{2}+bx \right ) ^{{\frac{7}{2}}}}+{\frac{16\,B{c}^{2}}{3\,{b}^{2}} \left ( c{x}^{2}+bx \right ) ^{{\frac{5}{2}}}}+{\frac{10\,B{c}^{2}x}{3\,b} \left ( c{x}^{2}+bx \right ) ^{{\frac{3}{2}}}}+{\frac{5\,Bc}{3} \left ( c{x}^{2}+bx \right ) ^{{\frac{3}{2}}}}-{\frac{5\,Bbcx}{4}\sqrt{c{x}^{2}+bx}}-{\frac{5\,{b}^{2}B}{8}\sqrt{c{x}^{2}+bx}}+{\frac{5\,{b}^{3}B}{16}\ln \left ({ \left ({\frac{b}{2}}+cx \right ){\frac{1}{\sqrt{c}}}}+\sqrt{c{x}^{2}+bx} \right ){\frac{1}{\sqrt{c}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.22091, size = 551, normalized size = 3.6 \begin{align*} \left [\frac{15 \,{\left (B b^{3} + 6 \, A b^{2} c\right )} \sqrt{c} x \log \left (2 \, c x + b + 2 \, \sqrt{c x^{2} + b x} \sqrt{c}\right ) + 2 \,{\left (8 \, B c^{3} x^{3} - 48 \, A b^{2} c + 2 \,{\left (13 \, B b c^{2} + 6 \, A c^{3}\right )} x^{2} + 3 \,{\left (11 \, B b^{2} c + 18 \, A b c^{2}\right )} x\right )} \sqrt{c x^{2} + b x}}{48 \, c x}, -\frac{15 \,{\left (B b^{3} + 6 \, A b^{2} c\right )} \sqrt{-c} x \arctan \left (\frac{\sqrt{c x^{2} + b x} \sqrt{-c}}{c x}\right ) -{\left (8 \, B c^{3} x^{3} - 48 \, A b^{2} c + 2 \,{\left (13 \, B b c^{2} + 6 \, A c^{3}\right )} x^{2} + 3 \,{\left (11 \, B b^{2} c + 18 \, A b c^{2}\right )} x\right )} \sqrt{c x^{2} + b x}}{24 \, c x}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (x \left (b + c x\right )\right )^{\frac{5}{2}} \left (A + B x\right )}{x^{4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.18537, size = 190, normalized size = 1.24 \begin{align*} \frac{2 \, A b^{3}}{\sqrt{c} x - \sqrt{c x^{2} + b x}} + \frac{1}{24} \, \sqrt{c x^{2} + b x}{\left (2 \,{\left (4 \, B c^{2} x + \frac{13 \, B b c^{3} + 6 \, A c^{4}}{c^{2}}\right )} x + \frac{3 \,{\left (11 \, B b^{2} c^{2} + 18 \, A b c^{3}\right )}}{c^{2}}\right )} - \frac{5 \,{\left (B b^{3} + 6 \, A b^{2} c\right )} \log \left ({\left | -2 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )} \sqrt{c} - b \right |}\right )}{16 \, \sqrt{c}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]